// <template>
//   <svg>
//     <!-- 库位类型 -->
//     <text v-if="showIn || showOut"
//           :x="35/2"
//           :y="35/2"
//           stroke="#000"
//           xml:space="preserve"
//           font-family="Junction, sans-serif"
//           font-size="12"
//           stroke-width="0"
//           style="dominant-baseline:middle;text-anchor:middle;font-weight: bold;"
//           fill="#000000">{{ showIn ? 'IN' : 'OUT' }}</text>
//     <svg x="5" y="5" width="25" height="25" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg">
//       <!-- 工装 -->
//       <path v-if="showEquipment" :d="svgIcon.equipment.d" />
//       <!-- 火警 -->
//       <path v-if="showFire" :d="svgIcon.fire.d" fill="yellow" />
//       <!-- 锁定 -->
//       <path v-if="showLock" :d="svgIcon.lock.d" fill="#fff" />
//       <!-- 心跳断开 -->
//       <path v-if="showHeartBreak" :d="svgIcon.heartBreak.d" fill="#fff" />
//     </svg>

//     <!-- 使用状态 -->
//     <polygon v-if="showOnlyIn" points="23 0,35 0,35 12" fill="#ED1E79" stroke="#000000" stroke-width="0" />
//     <polygon v-if="showOnlyOut" points="23 0,35 0,35 12" fill="#0000FF" stroke="#000000" stroke-width="0" />
//     <svg v-if="showDisable"
//          x="7"
//          y="7"
//          viewBox="0 0 1024 1024"
//          version="1.1"
//          xmlns="http://www.w3.org/2000/svg"
//          width="22"
//          height="22">
//       <path :d="svgIcon.disable.d" fill="#fff" />
//     </svg>
//   </svg>
// </template>

// <script>
// export default {
//   props: {
//     showIn: Boolean,
//     showOut: Boolean,
//     showEquipment: Boolean,
//     showFire: Boolean,
//     showLock: Boolean,
//     showHeartBreak: Boolean,
//     showDisable: Boolean,
//     showOnlyIn: Boolean,
//     showOnlyOut: Boolean
//   },
//   data () {
//     return {
//       svgIcon: {
//         extinguisher: { d: 'M793.088 307.2v-10.24a5.12 5.12 0 0 0-5.632-5.12h-5.632a184.832 184.832 0 0 0-77.824-158.72 181.248 181.248 0 0 0-105.472-36.352 12.8 12.8 0 0 1-7.168-4.096 9.728 9.728 0 0 0-10.24-9.216h-31.744a60.416 60.416 0 0 0-51.2-28.672 61.952 61.952 0 0 0-45.056 18.944c-29.184 0-139.264 0-220.16-3.072-12.8 0-12.8 0-19.456 6.144a40.96 40.96 0 0 0 0 35.84 11.264 11.264 0 0 0 7.68 3.072A744.448 744.448 0 0 1 398.848 102.4c4.096 0 8.704 5.632 0 10.24-26.112 15.36-106.496 41.984-134.656 51.2a19.968 19.968 0 0 0-12.288 12.288 108.032 108.032 0 0 0 0 22.528 9.728 9.728 0 0 0 13.824 7.68 879.104 879.104 0 0 1 157.184-71.68 43.008 43.008 0 0 1 19.456 0v107.52a144.896 144.896 0 0 0-140.8 138.752v554.496c0 27.136 6.144 36.864 24.064 36.864h349.696c17.92 0 24.064-9.728 24.064-36.864V387.584v-3.072a145.92 145.92 0 0 0-145.408-138.752v-102.4h28.16a9.728 9.728 0 0 0 10.24-9.216s4.608-5.12 6.656-5.12a146.432 146.432 0 0 1 83.456 24.576 153.6 153.6 0 0 1 68.608 135.68h-4.096a5.12 5.12 0 0 0-5.632 5.12V307.2a51.2 51.2 0 0 0-28.672 44.032v135.68a5.12 5.12 0 0 0 5.632 5.12H819.2a5.12 5.12 0 0 0 5.12-5.12V350.208a51.2 51.2 0 0 0-31.232-43.008z' },
//         heartBreak: { d: 'M317.103 429.404c11.571-11.54 30.262-11.654 41.966-0.256l237.208 231.007c11.946 11.637 12.058 30.801 0.247 42.582l-95.872 95.626c-77.416 77.416-192.408 92.605-270.707 38.009L120.038 946.246c-11.676 11.672-30.606 11.672-42.281 0-11.49-11.487-11.673-29.998-0.547-41.708l0.547-0.562 109.67-109.64c-55.967-78.326-41.111-194.39 36.848-272.35z m21.35 63.133l-71.916 71.723-1.883 1.912c-61.82 63.543-67.918 156.28-16.193 208.005 52.247 52.247 146.34 45.498 209.949-18.11l74.42-74.23-194.377-189.3z m613.79-422.783c11.49 11.487 11.673 29.998 0.547 41.708l-0.547 0.562-109.11 109.084c57.203 78.339 42.65 195.365-35.795 273.81L714.51 587.5c-11.57 11.54-30.261 11.655-41.966 0.256L626.8 543.208l-18.078 18.075c-11.676 11.673-30.606 11.673-42.281 0-11.49-11.487-11.673-29.998-0.548-41.708l0.548-0.561 17.524-17.521-61.698-60.085-20.092 20.087c-11.675 11.672-30.605 11.672-42.28 0-11.49-11.487-11.673-29.998-0.548-41.708l0.547-0.562 19.538-19.532-44.096-42.943c-11.826-11.52-12.054-30.42-0.598-42.227l0.351-0.355 95.872-95.626c76.927-76.927 190.955-92.411 269.218-39.036L909.962 69.754c11.676-11.672 30.606-11.672 42.281 0z m-169.09 172.973c-52.248-52.247-146.34-45.498-209.95 18.111l-74.42 74.231 194.377 189.3 71.937-71.748 1.862-1.889c61.82-63.543 67.918-156.28 16.193-208.005z' },
//         disable: { d: 'M149.937502 873.952787a511.981715 511.981715 0 1 1 724.088426 0 511.981715 511.981715 0 0 1-724.088426 0z m103.420307-620.594978a365.701225 365.701225 0 0 0-46.517196 460.271561l506.788757-506.788757a365.701225 365.701225 0 0 0-460.271561 46.517196z m563.691868 56.97625l-506.715618 506.715618a365.701225 365.701225 0 0 0 506.715618-506.715618z' },
//         lock: { d: 'M800.421 436.525h-63.661v-148.673c0-124.507-100.762-225.757-224.732-225.757-123.98 0-224.857 101.25-224.857 225.766v148.662h-63.593c-30.667 0-55.532 24.952-55.532 55.752v407.048c0 30.848 24.865 55.82 55.532 55.82h576.9c30.667 0 55.465-24.97 55.465-55.82v-407.048c0-30.802-24.855-55.752-55.532-55.752zM543.203 706.409v88.88c-0.016 4.026-3.264 7.287-7.282 7.325h-47.733c-4.039-0.022-7.307-3.287-7.334-7.322v-88.882c-22.423-11.518-37.953-34.602-37.953-61.659 0-38.288 30.945-69.425 69.070-69.425 38.183 0 69.138 31.136 69.138 69.415 0.057 27.067-15.473 50.152-37.905 61.659zM650.514 436.525h-276.989v-144.986c0-76.691 62.196-139.146 138.552-139.146 76.366 0 138.447 62.454 138.447 139.146v144.986z' },
//         fire: { d: 'M511.8194 43.705115c0 0-631.015168 705.783422-54.541093 927.198589 220.692769 84.881834 343.13933-116.306173 382.510053-272.705467C895.77425 474.615873 504.956614 346.390123 511.8194 43.705115zM684.833862 825.701587c-19.504762 78.019048-80.908642 178.793651-191.074427 136.172134-288.237037-110.526984 27.451146-463.418695 27.451146-463.418695C517.23739 649.797531 713.007407 714.091005 684.833862 825.701587z' },
//         equipment: { d: 'M877.312 286.72a32.416 32.416 0 0 0-45.344 0.48l-95.264 95.2c-21.696 21.376-56.544 21.248-85.824-8.064-29.312-29.312-29.376-64.64-8.256-85.76l95.072-95.04c12.928-12.896 12.16-33.568 0.448-45.28a29.632 29.632 0 0 0-11.328-7.072 254.688 254.688 0 0 0-327.264 312.416 1.152 1.152 0 0 1-0.448 1.28l-206.08 156.16a390.72 390.72 0 0 0-15.872 12.544c-62.176 62.176-69.76 155.328 0 225.12 69.792 69.792 162.688 61.888 224.832-0.256l1.792-2.08c18.88-23.168 167.552-219.744 167.552-219.744a1.088 1.088 0 0 1 1.184-0.384 254.656 254.656 0 0 0 311.776-328.256 29.024 29.024 0 0 0-6.976-11.232z m-43.008 88.64a191.68 191.68 0 0 1-55.68 141.216 190.464 190.464 0 0 1-187.904 48.32l-43.744-12.192-191.936 252.16c-27.424 36.8-85.344 48.512-133.952-0.096-46.944-46.944-37.504-102.528-4-131.232l256.32-195.488-12.448-42.464a190.4 190.4 0 0 1 48.128-188.384 189.28 189.28 0 0 1 140.352-55.904L597.44 243.296a115.296 115.296 0 0 0-33.408 89.408c2.144 31.808 16.544 61.824 41.6 86.88 52.224 52.192 127.872 55.808 176.352 8.064l52.352-52.288zM288 784a48 48 0 1 0 0-96 48 48 0 0 0 0 96z' }
//       }
//     }
//   }
// }
// </script>
